projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e8951d
)
wayland: Set type for GtkSelectionData for incoming contents
author
Kristian Høgsberg
<krh@bitplanet.net>
Sat, 24 Aug 2013 06:13:01 +0000
(23:13 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Sat, 24 Aug 2013 06:15:54 +0000
(23:15 -0700)
This is set from the incoming property type under X11. Under Wayland
it will always be what we requested, so we can just set it to the target.
gtk/gtkclipboard-wayland.c
patch
|
blob
|
history
diff --git
a/gtk/gtkclipboard-wayland.c
b/gtk/gtkclipboard-wayland.c
index 8f6012e1931ab933330f2bff11bc04cd13a7d9ad..ab63a0ccb72bddde05c41776c0fa4dd4c0d4c955 100644
(file)
--- a/
gtk/gtkclipboard-wayland.c
+++ b/
gtk/gtkclipboard-wayland.c
@@
-247,6
+247,7
@@
_request_generic_cb (GdkDevice *device,
selection_data.selection = GDK_SELECTION_CLIPBOARD;
selection_data.target = closure->target;
+ selection_data.type = closure->target;
selection_data.length = len;
selection_data.data = (guchar *)data;